package com.grab.domain;

/**
 * @author YanShuang
 * @version v_1.0.1
 * @since 2020/9/11 15:39
 */
public class Town {

    String id;
    //code
    String code;
    //城乡分类代码
    String classification;
    //name
    String name;

    String pid;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("id=").append(id);
        sb.append(", code=").append(code);
        sb.append(", classification=").append(classification);
        sb.append(", name=").append(name);
        sb.append(", pid=").append(pid);
        sb.append(']');
        return sb.toString();
    }
}
